package cn.fisok.pdman.dbreverse;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Entity implements Serializable {
    @JSONField(ordinal = 10)
    private String title;
    @JSONField(ordinal = 20)
    private String chnname;
    @JSONField(ordinal = 30)
    private List<Field> fields = new ArrayList<Field>();

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getChnname() {
        return chnname;
    }

    public void setChnname(String chnname) {
        this.chnname = chnname;
    }

    public List<Field> getFields() {
        return fields;
    }

    public void setFields(List<Field> fields) {
        this.fields = fields;
    }
}
